package com.baibei.order.bill.deliveryquery;

import com.baibei.basic.IPresenter;
import com.baibei.basic.IPresenterView;
import com.baibei.model.DeliveryQueryInfo;

import java.util.List;

/**
 * 补款取货契约类
 * Created by shenminjie on 2017/8/25.
 * mail:shenminjie@100bei.com
 */

public class DeliveryQueryContract {

    /**
     * 视图层
     */
    interface DeliveryQueryView extends IPresenterView {

        /**
         * 关闭下拉刷新
         */
        void hideRefreshLayout();


        /**
         * 加载失败
         *
         * @param msg msg
         */
        void onLoadFailed(String msg);

        /**
         * 加载成功
         *
         * @param list list
         */
        void onLoadSuccess(List<DeliveryQueryInfo> list);
    }

    /**
     * 表现层
     */
    interface Presenter extends IPresenter {

    }
}
